﻿using StarsAdmin.Core.Models;

namespace StarsAdmin.Application.Role.Dtos
{
    public class RoleDto : BaseDto
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 角色标识
        /// </summary>
        public string Identifying { get; set; }

        /// <summary>
        /// 角色描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }

        /// <summary>
        /// 角色拥有的菜单Id
        /// </summary>
        public long[] MenuIds { get; set; }
    }
}